package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 工程文件上传对象 pro_file_blueprint
 * 
 * @author ruoyi
 * @date 2020-06-19
 */
public class ProFileBlueprint extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name ="项目日期", targetAttr = "pTime",type = Excel.Type.EXPORT),
            @Excel(name ="项目经理", targetAttr = "pFounder",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    /** 文件id */
    private Integer pFileId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String pFileName;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private Integer pFileType;

    /** 上传文件 */
    @Excel(name = "上传文件")
    private String pFileUploading;

    /** 文件备注 */
    @Excel(name = "文件备注")
    private String pFileRemark;

    /** 上传人 */
    @Excel(name = "上传人")
    private String pTheHeir;

    /** 文件上传时间 */
    @Excel(name = "文件上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pFileTime;

    private long filePro;
    public long getFilePro() {
        return filePro;
    }

    public void setFilePro(long filePro) {
        this.filePro = filePro;
    }



    public void setpFileId(Integer pFileId) 
    {
        this.pFileId = pFileId;
    }

    public Integer getpFileId() 
    {
        return pFileId;
    }
    public void setpFileName(String pFileName) 
    {
        this.pFileName = pFileName;
    }

    public String getpFileName() 
    {
        return pFileName;
    }
    public void setpFileType(Integer pFileType) 
    {
        this.pFileType = pFileType;
    }

    public Integer getpFileType() 
    {
        return pFileType;
    }
    public void setpFileUploading(String pFileUploading) 
    {
        this.pFileUploading = pFileUploading;
    }

    public String getpFileUploading() 
    {
        return pFileUploading;
    }
    public void setpFileRemark(String pFileRemark) 
    {
        this.pFileRemark = pFileRemark;
    }

    public String getpFileRemark() 
    {
        return pFileRemark;
    }
    public void setpTheHeir(String pTheHeir) 
    {
        this.pTheHeir = pTheHeir;
    }

    public String getpTheHeir() 
    {
        return pTheHeir;
    }
    public void setpFileTime(Date pFileTime) 
    {
        this.pFileTime = pFileTime;
    }

    public Date getpFileTime() 
    {
        return pFileTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pFileId", getpFileId())
            .append("pFileName", getpFileName())
            .append("pFileType", getpFileType())
            .append("pFileUploading", getpFileUploading())
            .append("pFileRemark", getpFileRemark())
            .append("pTheHeir", getpTheHeir())
            .append("pFileTime", getpFileTime())
            .append("filePro", getFilePro())
                .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
